package com.atguigu.yygh.user.client;

import com.atguigu.yygh.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author:ahang
 * @create:2022-09-13 13:55
 * @Description:
 */
@FeignClient(value = "service-user")
public interface PatientFeignClient {

    @GetMapping("/api/user/patient/inner/get/{id}")
    Patient getPatientById2(@PathVariable("id") Long id);

}
